package com.kaifamiao.www.demo.Do16;

public class Demo2 {

    public static void main(String[] args){
        int i1 = 455;
        int i2 = 234;
        int i3 = i1 +i2;
        System.out.println(i3);
//整数类型byte.short.long.int  浮点型  float .double.  字符型 char .布尔型（boolean）(true/false)
        char ch1 = 64;
        char ch2 = 745;
        int  ch3 = ch1+ch2;
        System.out.println(ch3);

        long l1 = 10L;
        long l2 = 112L;
        long l3 = l1+l2;
        System.out.println(l3);

        byte bt1 = 111;
        byte bt2 = 127;
        int bt3 = bt1+bt2;
        System.out.println(bt3);

        short a = 101;
        short b = 123;
        int c = a+b;
        System.out.println(c);

        int a3 =123;
        long l5 = 1223L;
        int d4 = a3+(int)l5;
        System.out.println(d4);





    }

}
